<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  <title>Android Studio的简单配置 | 不忘初心</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="转载: http:&#x2F;&#x2F;www.cnblogs.com&#x2F;smyhvae&#x2F;p&#x2F;4390905.html     一、第一次安装： 温馨提示：在安装Android Studio之前，建议先提前准备好单独的Android SDK，这个可以在AndroidDevTools网站下载。以前用Eclipse做过Android开发的人，就可以用现成的Android SDK。 Android Studio安装完成后">
<meta property="og:type" content="article">
<meta property="og:title" content="Android Studio的简单配置">
<meta property="og:url" content="http://example.com/2017/06/22/Android%20Studio/Android-Studio%E7%9A%84%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AE/index.html">
<meta property="og:site_name" content="不忘初心">
<meta property="og:description" content="转载: http:&#x2F;&#x2F;www.cnblogs.com&#x2F;smyhvae&#x2F;p&#x2F;4390905.html     一、第一次安装： 温馨提示：在安装Android Studio之前，建议先提前准备好单独的Android SDK，这个可以在AndroidDevTools网站下载。以前用Eclipse做过Android开发的人，就可以用现成的Android SDK。 Android Studio安装完成后">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="http://images.wxyass.com/wxyass/image/20160809223016293-1324408193.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809222759199-1573362003.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809223129668-785110585.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809223333793-624684194.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809223502215-1711399311.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809223550856-912533858.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809223806543-139363929.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809223911684-334148762.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809224104887-715926097.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809224133293-275267523.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/031950147016537.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809233232527-1524149464.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809233441824-1386798292.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160809233528309-783456964.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072112034542723.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072113295172430.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072114237677589.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160810094556809-142977772.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072116357208578.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160810094650684-343880749.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160810094807246-1644638455.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072122115955000.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/031950366078777.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072124436575343.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/031950393575804.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/031950404823361.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160810095124793-871900743.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/031950430764902.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/031950443898700.jpg">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160810095451340-1973533860.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/20160810095556637-1247847901.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072131416107389.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072135397516370.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072139246884416.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072142107821807.png">
<meta property="og:image" content="http://images.wxyass.com/wxyass/images/072145290958389.png">
<meta property="article:published_time" content="2017-06-22T07:10:10.000Z">
<meta property="article:modified_time" content="2018-07-15T05:45:32.000Z">
<meta property="article:author" content="wxyass">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="http://images.wxyass.com/wxyass/image/20160809223016293-1324408193.png">
  
    <link rel="alternate" href="/atom.xml" title="不忘初心" type="application/atom+xml">
  
  
    <link rel="shortcut icon" href="/favicon.png">
  
  
    
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">

  
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">

  
<meta name="generator" content="Hexo 5.4.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">不忘初心</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://example.com"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main"><article id="post-Android Studio/Android-Studio的简单配置" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2017/06/22/Android%20Studio/Android-Studio%E7%9A%84%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AE/" class="article-date">
  <time class="dt-published" datetime="2017-06-22T07:10:10.000Z" itemprop="datePublished">2017-06-22</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android-Studio%E4%BB%8B%E7%BB%8D/">Android Studio介绍</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="p-name article-title" itemprop="headline name">
      Android Studio的简单配置
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <blockquote>
<p>转载: <a target="_blank" rel="noopener" href="http://www.cnblogs.com/smyhvae/p/4390905.html">http://www.cnblogs.com/smyhvae/p/4390905.html</a>   </p>
</blockquote>
<p>一、第一次安装：</p>
<p>温馨提示：在安装Android Studio之前，建议先提前准备好单独的Android SDK，这个可以在AndroidDevTools网站下载。以前用Eclipse做过Android开发的人，就可以用现成的Android SDK。</p>
<p>Android Studio安装完成后，第一次启动AS前，为了避免重新下载新版本的SDK，需要做如下操作：</p>
<span id="more"></span>

<p>AS启动前，打开安装目录，请先将bin目录的idea.properties文件中增加一行：disable.android.first.run=true就行了，避免第一次打开AS时自动重新下载SDK。mac平台的右键安装包-&gt;Show Package Contents 就找到bin目录了。</p>
<p>第一次打开Android Studio时，需要配置JDK和SDK：</p>
<p><img src="http://images.wxyass.com/wxyass/image/20160809223016293-1324408193.png" alt="M12"></p>
<p>上图中，选择“Project Structure”，弹出如下界面：（选择JDK和Android SDK的路径）</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809222759199-1573362003.png" alt="M12">  </p>
<p> 注：不要问我JDK和Android SDK怎么来的吧？JDK需要提前安装好，Android SDK需要提前准备好，这种帖子一搜一大把，大家自行查找。 </p>
<p>当然，以后我们在使用Android Studio 的时候，也可以随时修改JDK和Android SDK的路径。选择「File–&gt;Other Settings–&gt;Default Sructure」，即可进行同样的修改。</p>
<p>二、新建一个Android Studio工程：</p>
<p>配置好JDK和Android SDK后，就可以开始新建Android项目了：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809223129668-785110585.png" alt="M12"></p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809223333793-624684194.png" alt="M12"></p>
<p>上图中，设置好工程名和路径之后，接下来可以一路next：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809223502215-1711399311.png" alt="M12"></p>
<p>  用户如果是第一次安装Android Studio，会出现如下窗口：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809223550856-912533858.png" alt="M12"></p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809223806543-139363929.png" alt="M12"></p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809223911684-334148762.png" alt="M12"></p>
<p>上图中，是在下载最新版的SDK（API 23），几分钟就下载好了，由于访问的是国外的网站，建议FQ。继续下一步：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809224104887-715926097.png" alt="M12"></p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809224133293-275267523.png" alt="M12"></p>
<p>上图中，点击“finish”按钮，应用即可创建完成。 </p>
<p>用户如果是第一次安装Android Studio，会出现如下窗口：</p>
<p><img src="http://images.wxyass.com/wxyass/images/031950147016537.png" alt="M12"></p>
<p>上图中，是在下载Gradle，文件不大，大概几十兆吧，下载起来很快。由于访问的是国外的网站，建议FQ。</p>
<p>PS：有些童鞋由于没有科学上网的方式，导致Gradle无法下载，这个问题大家自行网上查一下答案（无法科学上网的Android程序员，不是一名合格的程序员）。</p>
<p>三、Android Studio的简单设置：</p>
<p>1、主题修改：</p>
<p>可能大家会觉得软件的界面不太好看，我们可以换一下主题。选择菜单栏“File–settings–apperance–theme”，主题选择Darcula：<br>images<br><img src="http://images.wxyass.com/wxyass/images/20160809233232527-1524149464.png" alt="M12"></p>
<p>2、导入第三方主题：</p>
<p>系统提供的两种主题可能都不太好看，我们可以进入网站<a target="_blank" rel="noopener" href="http://color-themes.com/%E6%9D%A5%E8%8E%B7%E5%8F%96%E7%AC%AC%E4%B8%89%E6%96%B9%E4%B8%BB%E9%A2%98%EF%BC%8C%E6%AF%94%E5%A6%82%E8%AF%B4Sublime%E4%B8%BB%E9%A2%98%E5%B0%B1%E6%98%AF%E6%88%91%E4%B8%AA%E4%BA%BA%E5%96%9C%E7%88%B1%E7%9A%84%EF%BC%9A">http://color-themes.com/来获取第三方主题，比如说Sublime主题就是我个人喜爱的：</a></p>
<p><img src="http://images.wxyass.com/wxyass/images/20160809233441824-1386798292.png" alt="M12"></p>
<p> <img src="http://images.wxyass.com/wxyass/images/20160809233528309-783456964.png" alt="M12"></p>
<p>上图中，下载下来之后，是一个jar包。那怎么导入到Android Studio呢？</p>
<p>别着急，回到Android Studio，选择菜单栏“ File-Import Settings”，将下载好的jar包导入即可。</p>
<p>3、代码字体修改：</p>
<p>选择菜单栏“File–settings–Editor–Colors&amp;Fonts–Font”：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072112034542723.png" alt="M12"></p>
<p>同样也可以修改控制台的字体：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072113295172430.png" alt="M12"></p>
<p>修改完之后发现AS的一些默认字体如侧边栏的工程目录的字体并没有发生变化，如果想改的话，那还是改一下吧（我个人一般是不改的），修改AS的默认字体：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072114237677589.png" alt="M12"></p>
<p> 4、关闭更新：</p>
<p>如下图所示：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160810094556809-142977772.png" alt="M12"></p>
<p>5、快捷键习惯的修改：</p>
<p>如果想修改成Eclipse的快捷键习惯，可以选择菜单栏”file–Settings–Keymap”：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072116357208578.png" alt="M12"></p>
<p>我这里就不改了哈。</p>
<p>6、添加api文档悬浮提示：</p>
<p>AS默认是没有api文档悬浮提示的，只有按住【Ctrl+Q】太会出现提示。如果要添加api的自动悬浮提示，设置如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160810094650684-343880749.png" alt="M12"></p>
<p>上图中，在红框部分打钩就行了，不过这样做对电脑的性能消耗会增加，可以不设置，根据个人习惯。</p>
<p>7、配置代码的自动提示：（新版AS默认具有代码自动提示的设置）</p>
<p>新版的AS默认具有代码自动补齐的功能（老版本的AS是没有的），自动补齐的设置如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160810094807246-1644638455.png" alt="M12"></p>
<p>保持上方红框部分出于打勾状态，就可以设置成代码自动补齐了。</p>
<p>代码提示的快捷键是在下面这个位置：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072122115955000.png" alt="M12"></p>
<p>上图中，在搜索框输入“class name completion”，就看到了代码提示的默认快捷键是Ctrl+Alt+空格，如果想把这个快捷键改掉，操作如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/031950366078777.png" alt="M12"></p>
<p>上图中，右键选择红框部分，在弹出的对话框中进行修改。</p>
<p>注：如果你习惯了用Eclipse，但是要注意，android Studio中的【Alt+/】是另外一个快捷键：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072124436575343.png" alt="M12"></p>
<p>习惯了用Eclipse的人可以将上图红框部分的两个快捷键交换一下。</p>
<p>配置代码提示的大小写区分：</p>
<p>AS默认的代码提示是大小写敏感的，不信看一下。我们输入小写的intent，提示效果如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/031950393575804.png" alt="M12"></p>
<p>而当输入大写的Intent时，提示效果如下：（这个时候才出现了Intent类）</p>
<p><img src="http://images.wxyass.com/wxyass/images/031950404823361.png" alt="M12"></p>
<p>上面两张图可以看到，AS默认的代码提示是大小写敏感的。那我想让AS对大小写不敏感，该怎么弄呢？操作如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160810095124793-871900743.png" alt="M12"></p>
<p>上图中，我们将箭头处的部分改成“none”即可。演示效果如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/031950430764902.png" alt="M12"></p>
<p>上图中可以看到，修改之后，即使输入小写的关键字，也可以同时弹出大些和小写的关键字。</p>
<p>按住Ctrl键的同时单击鼠标查看源码：（新版AS已默认具有该设置）　　　　</p>
<p>如果已经成功加载sdk，那这个其实是在快捷键里面设置的：</p>
<p><img src="http://images.wxyass.com/wxyass/images/031950443898700.jpg" alt="M12"></p>
<p>上图中的蓝栏框部分的快捷键的意思就是：按住Ctrl键的同时单击鼠标就可以查看源码。</p>
<p>8、设置自动导包：</p>
<p>之前在Eclipse中，我们只有每次引用一些类的时候必须要导包，而AS可以设置成自动导包。设置如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160810095451340-1973533860.png" alt="M12"></p>
<p>上图中，将红矿部分的两个位置处勾选就行了。</p>
<p>9、显示代码行数：</p>
<p><img src="http://images.wxyass.com/wxyass/images/20160810095556637-1247847901.png" alt="M12"></p>
<p>上图中，将红框部分打钩即可。</p>
<p>10、禁止自动打开上次的工程：</p>
<p>我喜欢自己选择打开哪个工程，果断禁用（这个根据个人喜好哈），设置如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072131416107389.png" alt="M12"></p>
<p>11、禁止代码折叠：</p>
<p>Intellij IDEA默认有很多地方的代码都会自动折叠，不过我看不惯，所以取消了，设置如下：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072135397516370.png" alt="M12"></p>
<p>12、修改注释位置，禁用“语句堆一行”：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072139246884416.png" alt="M12"></p>
<p>Comment at frist column：启用的话，注释的位置就会处于行首，否则就根据缩进来注释。我取消掉了。<br>Control statement in one line：格式化代码的时候，会把些很短的语句合并成一行。我觉得这样影响代码可读性，故取消。</p>
<p>13、修改新建文件文件头：</p>
<p>每次建新类的话，对下面这段注释肯定很熟悉吧？</p>
<pre><code>/**
* Created by smyhvae on 2015/5/7.
*/
</code></pre>
<p>其实它的设置是在下面这个位置：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072142107821807.png" alt="M12"></p>
<p>14、修改文件编码为UTF-8：<br>Android Studio 1.1默认的编码方式是utf-8，到了Android Studio 1.2默认的编码方式竟然是GBK，到了Android Studio 2.1，默认的部分编码方式是utf-8，我们还是统一设置为UTF-8吧，不要坑队友哦：</p>
<p><img src="http://images.wxyass.com/wxyass/images/072145290958389.png" alt="M12"></p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2017/06/22/Android%20Studio/Android-Studio%E7%9A%84%E7%AE%80%E5%8D%95%E9%85%8D%E7%BD%AE/" data-id="ckvc340p300015dfy4hc008pg" data-title="Android Studio的简单配置" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/2017/06/22/Android%20Studio/%E6%96%B0%E5%BB%BAas%E9%A1%B9%E7%9B%AE%E5%90%8E%E7%9A%84Android%E7%89%88%E6%9C%AC%E4%BF%AE%E6%94%B9/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Newer</strong>
      <div class="article-nav-title">
        
          新建as项目后的Android版本修改
        
      </div>
    </a>
  
  
    <a href="/2017/06/22/Android%20Studio/Android-Studio%E7%9A%84%E4%B8%8B%E8%BD%BD%E5%92%8C%E5%AE%89%E8%A3%85/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Older</strong>
      <div class="article-nav-title">Android Studio的下载和安装</div>
    </a>
  
</nav>

  
</article>


</section>
        
          <aside id="sidebar">
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Categories</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Activity/">Activity</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Android-Studio%E4%BB%8B%E7%BB%8D/">Android Studio介绍</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Android%E5%9F%BA%E7%A1%80/">Android基础</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Android%E6%A8%A1%E6%9D%BF/">Android模板</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/BaseRecyclerViewAdapterHelper/">BaseRecyclerViewAdapterHelper</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Bug%E9%97%AE%E9%A2%98/">Bug问题</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Button/">Button</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/EditText/">EditText</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Fragment/">Fragment</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/Gradle/">Gradle</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/ListView/">ListView</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/MD%E8%AF%AD%E6%B3%95/">MD语法</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/MyEclipse/">MyEclipse</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/OSS/">OSS</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/RecyclerView/">RecyclerView</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/SQL%E5%9F%BA%E7%A1%80/">SQL基础</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/UI%E6%8E%A7%E4%BB%B6/">UI控件</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/View/">View</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/ViewPager/">ViewPager</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/View%E7%AF%87/">View篇</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/as%E6%8A%A5%E9%94%99/">as报错</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/jar%E5%8C%85/">jar包</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/targetSdkVersion/">targetSdkVersion</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E4%B8%83%E7%89%9B%E4%BA%91/">七牛云</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E4%BA%8C%E7%BB%B4%E7%A0%81/">二维码</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%88%A0%E9%99%A4%E5%9B%BE%E7%89%87%E7%BC%93%E5%AD%98/">删除图片缓存</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%8D%87%E7%BA%A7%E6%8A%A5%E9%94%99/">升级报错</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/">博客搭建</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%8E%BB%E6%8E%89v7%E5%8C%85/">去掉v7包</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%9B%BE%E7%89%87%E5%A4%84%E7%90%86/">图片处理</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%A4%9A%E5%AA%92%E4%BD%93/">多媒体</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%AE%9A%E5%88%B6%E7%B1%BB/">定制类</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%B0%8F%E7%B1%B3%E6%89%8B%E6%9C%BA/">小米手机</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%B9%BF%E6%92%AD%E6%9C%BA%E5%88%B6/">广播机制</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%BE%AE%E5%8D%9A%E5%88%86%E4%BA%AB/">微博分享</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%89%93%E5%8C%85APK%E6%8A%A5%E9%94%99/">打包APK报错</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%8C%81%E4%B9%85%E5%8C%96%E5%AD%98%E5%82%A8/">持久化存储</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%97%B6%E9%97%B4%E9%80%89%E6%8B%A9DatePicker/">时间选择DatePicker</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%9C%8D%E5%8A%A1/">服务</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%9D%83%E9%99%90/">权限</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%9E%84%E5%BB%BA%E5%9F%BA%E7%B1%BB/">构建基类</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%B5%8B%E8%AF%95/">测试</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E7%9B%91%E5%90%AC%E9%94%81%E5%B1%8F/">监听锁屏</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E7%B3%BB%E7%BB%9F%E9%A1%B5%E9%9D%A2%E8%B7%B3%E8%BD%AC/">系统页面跳转</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E8%89%BA%E6%9C%AF%E6%8E%A2%E7%B4%A2/">艺术探索</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E8%AF%BB%E5%8F%96txt/">读取txt</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E8%BE%93%E5%85%A5%E6%B3%95/">输入法</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E9%9F%B3%E4%B9%90%E6%92%AD%E6%94%BE%E5%99%A8/">音乐播放器</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E9%BB%91%E9%A9%AC%E5%8D%AB%E5%A3%AB/">黑马卫士</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tags</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/tags/Activity/" rel="tag">Activity</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Android-Studio/" rel="tag">Android Studio</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Android-Studio%E4%BB%8B%E7%BB%8D/" rel="tag">Android Studio介绍</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Android%E5%9F%BA%E7%A1%80/" rel="tag">Android基础</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Android%E6%A8%A1%E6%9D%BF/" rel="tag">Android模板</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/BaseRecyclerViewAdapterHelper/" rel="tag">BaseRecyclerViewAdapterHelper</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Bug%E9%97%AE%E9%A2%98/" rel="tag">Bug问题</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Button/" rel="tag">Button</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/EditText/" rel="tag">EditText</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Fragment/" rel="tag">Fragment</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Gradle/" rel="tag">Gradle</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ListView/" rel="tag">ListView</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/MD%E8%AF%AD%E6%B3%95/" rel="tag">MD语法</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/MyEclipse/" rel="tag">MyEclipse</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/OSS/" rel="tag">OSS</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/RecyclerView/" rel="tag">RecyclerView</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/SQL%E5%9F%BA%E7%A1%80/" rel="tag">SQL基础</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/UI%E6%8E%A7%E4%BB%B6/" rel="tag">UI控件</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/View/" rel="tag">View</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ViewPager/" rel="tag">ViewPager</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/View%E7%AF%87/" rel="tag">View篇</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/as%E6%8A%A5%E9%94%99/" rel="tag">as报错</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/jar%E5%8C%85/" rel="tag">jar包</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/targetSdkVersion/" rel="tag">targetSdkVersion</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E4%B8%83%E7%89%9B%E4%BA%91/" rel="tag">七牛云</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%8D%87%E7%BA%A7%E6%8A%A5%E9%94%99/" rel="tag">升级报错</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/" rel="tag">博客搭建</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%9B%BE%E7%89%87%E5%A4%84%E7%90%86/" rel="tag">图片处理</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%A4%9A%E5%AA%92%E4%BD%93/" rel="tag">多媒体</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%B7%A5%E4%BD%9C%E9%97%AE%E9%A2%98/" rel="tag">工作问题</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%B9%BF%E6%92%AD%E6%9C%BA%E5%88%B6/" rel="tag">广播机制</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%BA%94%E7%94%A8%E8%AF%A6%E6%83%85/" rel="tag">应用详情</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%BE%AE%E5%8D%9A%E5%88%86%E4%BA%AB/" rel="tag">微博分享</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%8C%81%E4%B9%85%E5%8C%96%E5%AD%98%E5%82%A8/" rel="tag">持久化存储</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%9C%8D%E5%8A%A1/" rel="tag">服务</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%9D%83%E9%99%90/" rel="tag">权限</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%9E%84%E5%BB%BA%E5%9F%BA%E7%B1%BB/" rel="tag">构建基类</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%94%9F%E6%B4%BB/" rel="tag">生活</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%BB%83%E6%89%8B/" rel="tag">练手</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%89%BA%E6%9C%AF%E6%8E%A2%E7%B4%A2/" rel="tag">艺术探索</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%BE%93%E5%85%A5%E6%B3%95/" rel="tag">输入法</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E9%AB%98%E7%BA%A7%E6%8A%80%E5%B7%A7/" rel="tag">高级技巧</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/Activity/" style="font-size: 12.5px;">Activity</a> <a href="/tags/Android-Studio/" style="font-size: 10px;">Android Studio</a> <a href="/tags/Android-Studio%E4%BB%8B%E7%BB%8D/" style="font-size: 12.5px;">Android Studio介绍</a> <a href="/tags/Android%E5%9F%BA%E7%A1%80/" style="font-size: 20px;">Android基础</a> <a href="/tags/Android%E6%A8%A1%E6%9D%BF/" style="font-size: 10px;">Android模板</a> <a href="/tags/BaseRecyclerViewAdapterHelper/" style="font-size: 10px;">BaseRecyclerViewAdapterHelper</a> <a href="/tags/Bug%E9%97%AE%E9%A2%98/" style="font-size: 10px;">Bug问题</a> <a href="/tags/Button/" style="font-size: 10px;">Button</a> <a href="/tags/EditText/" style="font-size: 10px;">EditText</a> <a href="/tags/Fragment/" style="font-size: 18.75px;">Fragment</a> <a href="/tags/Gradle/" style="font-size: 10px;">Gradle</a> <a href="/tags/ListView/" style="font-size: 17.5px;">ListView</a> <a href="/tags/MD%E8%AF%AD%E6%B3%95/" style="font-size: 11.25px;">MD语法</a> <a href="/tags/MyEclipse/" style="font-size: 13.75px;">MyEclipse</a> <a href="/tags/OSS/" style="font-size: 11.25px;">OSS</a> <a href="/tags/RecyclerView/" style="font-size: 12.5px;">RecyclerView</a> <a href="/tags/SQL%E5%9F%BA%E7%A1%80/" style="font-size: 10px;">SQL基础</a> <a href="/tags/UI%E6%8E%A7%E4%BB%B6/" style="font-size: 15px;">UI控件</a> <a href="/tags/View/" style="font-size: 10px;">View</a> <a href="/tags/ViewPager/" style="font-size: 10px;">ViewPager</a> <a href="/tags/View%E7%AF%87/" style="font-size: 10px;">View篇</a> <a href="/tags/as%E6%8A%A5%E9%94%99/" style="font-size: 10px;">as报错</a> <a href="/tags/jar%E5%8C%85/" style="font-size: 10px;">jar包</a> <a href="/tags/targetSdkVersion/" style="font-size: 10px;">targetSdkVersion</a> <a href="/tags/%E4%B8%83%E7%89%9B%E4%BA%91/" style="font-size: 10px;">七牛云</a> <a href="/tags/%E5%8D%87%E7%BA%A7%E6%8A%A5%E9%94%99/" style="font-size: 10px;">升级报错</a> <a href="/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/" style="font-size: 12.5px;">博客搭建</a> <a href="/tags/%E5%9B%BE%E7%89%87%E5%A4%84%E7%90%86/" style="font-size: 15px;">图片处理</a> <a href="/tags/%E5%A4%9A%E5%AA%92%E4%BD%93/" style="font-size: 12.5px;">多媒体</a> <a href="/tags/%E5%B7%A5%E4%BD%9C%E9%97%AE%E9%A2%98/" style="font-size: 16.25px;">工作问题</a> <a href="/tags/%E5%B9%BF%E6%92%AD%E6%9C%BA%E5%88%B6/" style="font-size: 12.5px;">广播机制</a> <a href="/tags/%E5%BA%94%E7%94%A8%E8%AF%A6%E6%83%85/" style="font-size: 10px;">应用详情</a> <a href="/tags/%E5%BE%AE%E5%8D%9A%E5%88%86%E4%BA%AB/" style="font-size: 10px;">微博分享</a> <a href="/tags/%E6%8C%81%E4%B9%85%E5%8C%96%E5%AD%98%E5%82%A8/" style="font-size: 13.75px;">持久化存储</a> <a href="/tags/%E6%9C%8D%E5%8A%A1/" style="font-size: 12.5px;">服务</a> <a href="/tags/%E6%9D%83%E9%99%90/" style="font-size: 10px;">权限</a> <a href="/tags/%E6%9E%84%E5%BB%BA%E5%9F%BA%E7%B1%BB/" style="font-size: 10px;">构建基类</a> <a href="/tags/%E7%94%9F%E6%B4%BB/" style="font-size: 11.25px;">生活</a> <a href="/tags/%E7%BB%83%E6%89%8B/" style="font-size: 11.25px;">练手</a> <a href="/tags/%E8%89%BA%E6%9C%AF%E6%8E%A2%E7%B4%A2/" style="font-size: 10px;">艺术探索</a> <a href="/tags/%E8%BE%93%E5%85%A5%E6%B3%95/" style="font-size: 10px;">输入法</a> <a href="/tags/%E9%AB%98%E7%BA%A7%E6%8A%80%E5%B7%A7/" style="font-size: 11.25px;">高级技巧</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/11/">November 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/10/">October 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/">September 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/">August 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/07/">July 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/06/">June 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">April 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">March 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">February 2017</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/09/">September 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/10/">October 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/04/">April 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/01/">January 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/05/">May 2012</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2017/11/03/Android%20Studio/Github%E4%B8%8A%E6%8F%90%E4%BA%A4%E4%BB%A3%E7%A0%81/">Github上提交代码</a>
          </li>
        
          <li>
            <a href="/2017/10/31/RecyclerView/BaseRecyclerViewAdapterHelper%E5%BA%93%E7%9A%84%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/">BaseRecyclerViewAdapterHelper库的基本使用方法</a>
          </li>
        
          <li>
            <a href="/2017/10/31/%E5%9B%BE%E7%89%87%E5%A4%84%E7%90%86/%E4%B8%83%E7%89%9B%E4%BA%91--%E4%B8%83%E7%89%9B%E4%BA%91%E5%BF%AB%E9%80%9F%E4%B8%8A%E4%BC%A0%E5%9B%BE%E7%89%87/">七牛云快速上传图片</a>
          </li>
        
          <li>
            <a href="/2017/10/31/Gradle/Gradle--Gradle%E6%B7%BB%E5%8A%A0%E7%AC%AC%E4%B8%89%E6%96%B9%E5%BA%93%E6%8A%A5%E5%BC%82%E5%B8%B8/">Gradle添加第三方库报异常</a>
          </li>
        
          <li>
            <a href="/2017/10/26/Android%20Studio/%E8%A7%A3%E5%86%B3Android-Studio-Gradle-%E9%94%99%E8%AF%AF-%E7%BC%96%E7%A0%81GBK%E7%9A%84%E4%B8%8D%E5%8F%AF%E6%98%A0%E5%B0%84%E5%AD%97%E7%AC%A6/">解决Android Studio Gradle 错误 编码GBK的不可映射字符</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      
      &copy; 2021 wxyass<br>
      Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    


<script src="/js/jquery-3.4.1.min.js"></script>



  
<script src="/fancybox/jquery.fancybox.min.js"></script>




<script src="/js/script.js"></script>





  </div>
</body>
</html>